.applys0 {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  background-color: #fff !important;
  padding: 0 !important;

  .applysearch {
    padding-left: 20px;
    background-color: #f0f2f5 !important;
    display: flex;
    align-items: center;
    margin: 0;
    height: 50px;
    width: 100%;

    > button {
      margin-right: 10px !important;
      padding: 2px 10px !important;
      border: 0;
      background: linear-gradient(
        to bottom,
        #f5fbff 0%,
        rgb(234, 245, 255) 50%,
        #f5fbff
      );
      border: 1px solid #c1ccdd;
      color: black;
      font-weight: 500;
      border-radius: 3px;
    }

    button:hover {
      background: linear-gradient(
        to bottom,
        rgba(167, 215, 255, 0.5) 0%,
        #7dbeff 50%,
        rgba(167, 215, 255, 0.5)
      );
      border: 1px solid #c1ccdd;
      cursor: pointer;
    }

    .ant-form-item {
      display: flex;
      margin: 0;
      padding-right: 15px;

      .ant-form-item-control {
        width: 150px;
        font-style: italic;
        font-size: 12px !important;
      }
    }
  }

  .applyTable {
    height: 500px;
    width: 1260px;
    display: flex;
    justify-content: center;
    flex-direction: column;

    > h1 {
      display: flex;
      width: 100%;
      justify-content: center;
      margin: 0 !important;
      padding: 10px 0;
      font-size: 25px;
    }

    .ant-table-container {
      border: 1px solid #c0ccdd;
      border-bottom: none;
    }
  }

  .ant-table-body {
    height: 400px !important;
  }

  .ant-table-thead {
    height: 38px !important;

    tr {
      height: 38px !important;

      th {
        border-right: 1px solid #c5dbec !important;
        border-bottom: 1px solid #c5dbec;
        background: linear-gradient(
          to bottom,
          #e6eefb 0%,
          #eef4fd 50%,
          #f5faff
        );
        text-align: center;
        height: 38px !important;
        padding: 0 !important;
      }
    }
  }

  tbody {
    width: 100% !important;

    .ant-table-row {
      height: 38px !important;

      td {
        a {
          color: #4a82e4 !important;
        }

        a:hover {
          color: #e17009 !important;
          text-decoration: underline;
        }

        a:focus {
          color: #e17009 !important;
        }

        height: 38px !important;
        padding: 0 !important;
        text-align: center;
      }
    }

    .ant-table-row:hover {
      color: #000 !important;
    }
  }

  .alpplybottom {
    height: 40px;
    width: 94.5%;
    border: 1px solid #c0ccdd;
    display: flex;
    align-items: center;

    .ant-input {
      width: 40px;
      text-align: center;
      margin: 0 10px;
    }

    span:nth-child(1) {
      padding: 0px 15px;
    }

    span:nth-child(2) {
      padding-right: 5px;
    }

    span:nth-child(6) {
      padding-left: 5px;
    }

    span:nth-child(7) {
      padding: 0px 15px;
    }

    button {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;
      height: 30px;
      width: 45px;
    }
  }
}

.ant-pro-page-container {
  margin: 0 !important;
  background-color: #fff !important;
}

.react-resizable-handle {
  cursor: col-resize !important;
}

.applyLeave {
  width: 100%;
  height: 100%;
  padding: 0 20px;

  .applyleave {
    button {
      margin-top: 10px;
      margin-right: 10px;
      padding: 2px 10px;
      border: 0;
      background: linear-gradient(
        to bottom,
        #f5fbff 0%,
        rgb(234, 245, 255) 50%,
        #f5fbff
      );
      border: 1px solid #c1ccdd;
      color: black;
      font-weight: 500;
      border-radius: 3px;
    }

    button:hover {
      background: linear-gradient(
        to bottom,
        rgba(167, 215, 255, 0.5) 0%,
        #7dbeff 50%,
        rgba(167, 215, 255, 0.5)
      );
      border: 1px solid #c1ccdd;
      cursor: pointer;
    }
  }
}

.applyLeaveContent0 {
  height: 530px !important;

  .searchoutline {
    position: fixed;
    right: 60px;
    top: 188px;
    z-index: 200;
    font-size: 16px;
  }
}

.applyLeaveContent1 {
  height: 700px !important;

  .searchoutline {
    position: fixed;
    right: 60px;
    top: 188px;
    z-index: 200;
    font-size: 16px;
  }
}

.applyLeaveContent {
  margin-top: 10px;
  height: 480px;
  background-color: #fff;

  .table0 {
    margin-top: 15px !important;
    margin: 0 auto;
    width: 1240px;

    tr:first-child {
      background: linear-gradient(to bottom, #e7effb 0%, #edf4fd 50%, #f6faff);
    }

    tr {
      height: 40px;

      td {
        text-indent: 10px;
        border: 1px solid #c0ccdd;

        button {
          margin-left: 10px;
          margin-right: 10px;
          padding: 2px 10px;
          border: 0;
          background: linear-gradient(
            to bottom,
            #f5fbff 0%,
            rgb(234, 245, 255) 50%,
            #f5fbff
          );
          border: 1px solid #c1ccdd;
          color: black;
          font-weight: 500;
          border-radius: 3px;
        }

        button:hover {
          background: linear-gradient(
            to bottom,
            rgba(167, 215, 255, 0.5) 0%,
            #7dbeff 50%,
            rgba(167, 215, 255, 0.5)
          );
          border: 1px solid #c1ccdd;
          cursor: pointer;
        }
      }
    }

    tr:nth-child(3) {
      height: 55px;
    }

    tr:nth-child(2) {
      td:first-child {
        width: 550px;
        text-indent: 10px;
      }

      td:nth-child(2),
      td:nth-child(3) {
        text-align: center;
        width: 100px;
      }

      td:nth-child(4) {
        text-align: center;
        width: 120px;
      }
    }
  }

  .table {
    margin: 0 auto;
    width: 1240px;

    tr {
      height: 45px;

      td:nth-child(2n + 1) {
        span {
          color: red;
          font-size: 19px;
          display: inline-block;
          vertical-align: middle;
        }

        width: 120px;
        text-align: right;
        background-color: #f9fcff;
      }

      td:nth-child(2n) {
        text-align: center;
        padding: 0 12px;

        .ant-form-item {
          margin: 0;

          input {
            font-size: 14px;
            color: #959494;
            font-weight: normal;
          }
        }

        .ant-input-affix-wrapper-disabled {
          background-color: #fff;
        }

        .ant-select-selector:hover {
          border: 1px solid #5377b6;
          box-shadow: none !important;
        }

        .ant-form-item-has-success {
          box-shadow: none !important;
          border: 1px solid #5377b6;

          .ant-select-selector {
            border: none;
          }
        }

        .ant-select-selection-item {
          text-align: left;
        }

        .ant-input-affix-wrapper {
          display: flex;
          align-items: center;
          height: 29px;
        }

        .ant-picker {
          width: 100%;
        }

        .ant-picker:hover {
          border: 1px solid #5377b6;
        }

        .ant-picker-focused {
          box-shadow: none;
          border: 1px solid #5377b6;
        }
      }

      td {
        border: 1px solid #c0ccdd;

        > input {
          text-indent: 10px;
          height: 29px;
          width: 100%;
          border: 1px solid #d4d4d4;
        }

        input:hover {
          border-color: #5377b6;
        }

        input:focus {
          outline: none;
          border-color: #5377b6 !important;
        }
      }
    }

    tr:last-child {
      height: 95px;

      td:last-child {
        input {
          line-height: 80px;
          height: 80px;
          width: 100%;
          border: 1px solid #d4d4d4;
        }

        input:hover {
          border-color: #5377b6;
        }

        input:focus {
          outline: none;
          border-color: #5377b6 !important;
        }
      }
    }
  }

  h1 {
    display: flex;
    margin: 0;
    height: 80px;
    justify-content: center;
    align-items: center;
    font-size: 28px;
  }
}

.modalIsopen {
  .ant-modal-content {
    position: fixed;
    top: 20%;
    left: 30%;
    width: 750px !important;
    height: 520px !important;

    .ant-modal-title {
      display: flex;
      align-items: center;
      height: 32px;
    }

    .applyleave {
      height: 50px;
      display: flex;
      align-items: center;
      background-color: #f0f2f5;
      padding-left: 15px;

      button {
        margin-right: 10px;
        padding: 2px 10px;
        border: 0;
        background: linear-gradient(
          to bottom,
          #f5fbff 0%,
          rgb(234, 245, 255) 50%,
          #f5fbff
        );
        border: 1px solid #c1ccdd;
        color: black;
        font-weight: 500;
        border-radius: 3px;
      }

      button:hover {
        background: linear-gradient(
          to bottom,
          rgba(167, 215, 255, 0.5) 0%,
          #7dbeff 50%,
          rgba(167, 215, 255, 0.5)
        );
        border: 1px solid #c1ccdd;
        cursor: pointer;
      }
    }

    .ant-modal-header {
      height: 35px;
      display: flex;
      align-items: center;
      background-color: #5377b6;

      .ant-modal-title {
        color: #fff;
      }
    }

    .ant-modal-close-x {
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: auto;
      margin-top: 0 !important;

      svg {
        color: #c8c7c7 !important;
      }
    }

    .ant-modal-close-x:hover {
      svg {
        color: #fff !important;
      }

      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: auto;
      margin-top: 0 !important;
    }

    .ant-table-body {
      height: 337px !important;
    }

    .ant-modal-body {
      padding: 0 !important;
    }

    .ant-table-thead {
      height: 38px !important;

      tr {
        height: 38px !important;

        th {
          background: linear-gradient(
            to bottom,
            #e6eefb 0%,
            #eef4fd 50%,
            #f5faff
          );
          text-align: center;
          height: 38px !important;
          padding: 0 !important;
        }
      }
    }

    tbody {
      width: 100% !important;

      .ant-table-row {
        height: 38px !important;

        td {
          height: 38px !important;
          padding: 0 !important;
          text-align: center;
        }
      }

      .ant-table-row:hover {
        color: #000 !important;
      }
    }

    .alpplybottom {
      height: 40px;
      width: 100%;
      border: 1px solid #c0ccdd;
      display: flex;
      align-items: center;

      .ant-input {
        width: 40px;
        text-align: center;
        margin: 0 10px;
      }

      span:nth-child(1) {
        padding: 0px 15px;
      }

      span:nth-child(2) {
        padding-right: 5px;
      }

      span:nth-child(6) {
        padding-left: 5px;
      }

      span:nth-child(7) {
        padding: 0px 15px;
      }

      button {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        height: 30px;
        width: 45px;
      }
    }
  }
}

.modalopen {
  .ant-modal-content {
    width: 300px;
    height: 150px;
    position: fixed;
    top: 45%;
    left: 45%;

    .ant-modal-title {
      display: flex;
      align-items: center;
      height: 35px;
    }

    .ant-modal-header {
      height: 35px;
      display: flex;
      align-items: center;
      background-color: #5377b6;

      .ant-modal-title {
        color: #fff;
      }
    }

    .ant-modal-close-x {
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: auto;
      margin-top: 0 !important;

      svg {
        color: #c8c7c7 !important;
      }
    }

    .ant-modal-close-x:hover {
      svg {
        color: #fff !important;
      }

      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: auto;
      margin-top: 0 !important;
    }

    .ant-modal-body {
      padding: 0;
      height: 80px;
      border-bottom: 1px solid #ddd;

      button {
        margin-left: 120px;
        margin-top: 5px;
        padding: 2px 10px;
        border: 0;
        background: linear-gradient(
          to bottom,
          #f5fbff 0%,
          rgb(234, 245, 255) 50%,
          #f5fbff
        );
        border: 1px solid #c1ccdd;
        color: black;
        font-weight: 500;
        border-radius: 3px;
      }

      button:hover {
        background: linear-gradient(
          to bottom,
          rgba(167, 215, 255, 0.5) 0%,
          #7dbeff 50%,
          rgba(167, 215, 255, 0.5)
        );
        border: 1px solid #c1ccdd;
        cursor: pointer;
      }

      .content {
        display: flex;
        padding: 15px;
        height: 100%;

        span {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 50px;
          border-radius: 50%;
          background-color: #5377b6;
          font-size: 40px;
          font-weight: 600;
          color: #fff;
        }

        p {
          height: 100%;
          text-indent: 15px;
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }
    }

    .ant-modal-close {
      height: 35px;
      display: flex;
      align-items: center;
      color: #ccc;
    }
  }
}
